package cn.gene.timeyan.pojo.article.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 鏂囩珷鏉垮潡鍚嶈?瀹
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_article_module")
public class ArticleModule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "module_id", type = IdType.AUTO)
    private Long moduleId;

    /**
     * 妯″潡鍚?鏂囩珷鏉垮潡鍚?
     */
    private String moduleName;

    /**
     * 妯″潡鐖禝D
     */
    private Long parentId;

    /**
     * 妯″潡娣卞害
     */
    private String deep;

    /**
     * 妯″潡璁块棶娆℃暟
     */
    private Long viewCount;

    /**
     * 鏄?惁鏄?埗妯″潡
     */
    private String isParent;

    /**
     * 璁块棶闄愬埗
     */
    private String moduleVisitLimit;

    /**
     * 鐘舵?(0涓嶆樉绀?1鏄剧ず)
     */
    private String moduleState;

    /**
     * 鍒涘缓鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 淇?敼鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
